package cn.hp.cms.utils;

// 用来保存项目中的常量值  一定要大写并且有意义 多个单词之间连接使用下划线
public class Constant {

    public static final int LOGIN_SUCCESS_CODE =  200 ;
    public static final int LOGIN_FAIL_CODE =  500 ;
    public static final int CHECK_CODE_FAIL_CODE =  501 ;

    public static final String LOGIN_SUCCESS_MSG = "登录成功" ;
    public static final String LOGIN_FAIL_MSG = "账号密码错误" ;
    public static final String CHECK_CODE_FAIL_MSG = "验证码错误" ;

    public static final int UPDATE_PASSWORD_FAIL_CODE = 502 ;
    public static final String UPDATE_PASSWORD_FAIL_MSG = "重置密码失败" ;
    public static final String UPDATE_PASSWORD_SUCCESS_MSG = "密码重置成功" ;

    public static final int ADD_USER_FAIL_CODE = 504;
    public static final String ADD_USER_FAIL_MSG = "当前用户已存在" ;
    public static final int ADD_FAIL_CODE = 505;
    public static final String ADD_FAIL_MSG = "添加失败" ;
    public static final String ADD_USER_SUCCESS_MSG = "添加成功" ;


}
